compress file chunks with raw deflate