Creating zip entry for directories.

Fixes GEOS-6703, allowing for zipDirectory and decompress to round trip.