Store TIFF orientation flag correctly.