fs.dircreate implementation