Add a ModeT, Dir#mkdir and Dir#rmdir