Fix to prevent trying to load EXIF data from unsupported non-jpeg types

Ensures file type is jpeg before trying to load exif