[COOK-3542] Fixed zip bug related to breaking changes in rubyzip gem

Though this fix solves the bug, one should probably consider specifying min version of the rubyzip gem or have the code handle both the new and old version. Unless there's an even better solution I didn't think of, which is likely :)