Bugfix for bug #6.
I added an if statement to check for empty directory and append it to the zipStream.