Fixed issue when trying to read exif data from unsupported files