fix mkdir bug
Merge pull request #1 from dm4/fix_mkdir_bug

fix mkdir bug