Empty files handling

* Explicitly add directories to the output zip.
* Add a test for empty file addition.

Fixes #11