Fixing raised warning on exif_read_data