gzip data prior to aws upload