Fix creating directory for models
Merge pull request #49 from pepe/patch-2

Fix creating directory for models