Fix bug when directory does not exist
Merge pull request #2 from mrod/master

Fix bug when directory does not exist