Compress and decompress in separate processes