Fix the mkdir for moduledir
Merge pull request #88 from hunner/fix_mkdir

Fix the mkdir for moduledir