MoreFiles: implement createDirectory