Fix potential bugs when creating nested folders. Fix emptyDirSync.
0.0.2 released