Could you add a check for the zip extension here and throw a RuntimeException if it's not loaded?