Return an error if parsing XMP or EXIF fails