fixes corrupt ZIPs when archive size is over 4GB
fixes the few remaining coding style issues
Merge pull request #8 from JohnMaguire/bugfix/invalid-zips-over-4gb

fixes corrupt ZIPs when archive size is over 4GB