Added gzip compression before uploading to s3