Remove CreateDirectoryW and CreateFileW calls

Replace them with `std.os.windows.OpenFile` instead. To allow
creation/opening of directories, `std.os.windows.OpenFileOptions`
now features a `.expect_dir: bool` member which is meant to emualate
POSIX's `O_DIRECTORY` flag.
a89d5cfc3eJakub Konka committed on 7/31/2020, 2:31:23 PMparent0d31877
5 files changedLine totals unavailable