Setting content headers for files in Amazon S3

Our new release attempts to auto-detect the Content-Type and set it on S3 uploads: