The new fs module does not provide a way to create a directly with given permissions, which is especially painful for create_dir_all. It should.
The RFC specified that these functions should resemble those in old_io except for a generic bound, so it's not clear why the permission argument was droppped.