misc. fixes for zip stuff

1. Don't use the inappropriate free function in zip format.

2. Don't free memory which will be freed later on in zip format.

3. Use correct free function in zip2john.
Merge pull request #246 from kholia/zip-fixes

misc. fixes for zip stuff