Bugfix: don't continue writing to old inflate buffer after reallocating
Use std::vector instead of manually-managed buffer for inflate
Update test main with some useful zip/unzip commands
Use std::vector instead of manual buffer for deflate