Fix an issue with filetypes on data pushed to S3.