Applied further changes to ZipWriter

Instead of throwing an exception, you better set the date to zero, so a
date prior 1980-01-01 00:00 UTC will also be possible.
Added support for directory date
Applied small optimization

To prevent redundancy
Fixed formatting
Merge pull request #1447 from SoftCreatR/ZipDate

Apply further changes to ZipWriter