Fix crash in zip format found by Alexander Cherepanov