Fix issue with directory creation
Merge pull request #56 from robsonpeixoto/bug/create-dir

Fix issue with directory creation