(GPL) Simple unzip based on the source code of zlib-contrib