Fixed a missing tiff extension in fname check after S3 download