optionally compress before upload and decompress files after download, closes #9