Fixes #25853 - Maven POM files aren't always UTF-8 encoded. - Reject the upload of unparsable POM files