Make ciphertext parsing more robust in zip format