ImageRotate fix

error catch for exif_read_data was not working.