gzip and set correct s3 options

Also uses ruby 1.8.7 style hashes for legacy compatibility.

Sets a 'Content Encoding' header of 'gzip' and compresses at the max
level.