Refactor zlib for easier deflate streaming
Packbuilder stream deflate instead of one-shot