mimetypes to s3 fails