Partial import from https://github.com/nmoinvaz/minizip Revision: b3713abe7722f1b779e7cdbd527c6208abbe1121