Fix exif detection on jpg images