mkdir is asynchronous, need to make it sync
Merge pull request #13 from can3p/patch-1

mkdir is asynchronous, need to make it sync