Finish compressed file before syncing it