Compress before upload.