ensure content-type is set on s3 attachment uploads