Throw exceptions instead of dying

See https://github.com/Grandt/PHPZip/issues/24

You can view the relevant changes with https://github.com/Grandt/PHPZip/pull/25/files?w=1