Fix Support for bundling entire directories.

Fix issue: #150
Merge pull request #189 from larsbutler/bundle-dirs

Fix Support for bundling entire directories.