Fix file_extension mapping for upload to s3 take 2.