Rotate photos based on EXIF orientation