Revert "Fix crash in zip format found by Alexander Cherepanov"

My worst patch ever :(

This reverts commit 0762dcb247b8ab1ca4b28f7f9ea438d4e648713c.