Check for mimetype before scanning exif