Fixed a bug where empty ZIP files were being treated as invalid.

An empty ZIP file appears to start with the END header, causing the endOffset variable to appear to not change thus incorrectly interpreting the ZIP file as invalid.