Implement fs.mkdir and fs.rmdir