This is a hached version of the original gem s3_direct_upload that failed to work due to some content-type policy problems.