The following code
local sys = require("sys")
local dir = sys.Directory(".\\foink")
print(dir:make())
print(sys.error)
prints
true
Cannot create a file when that file already exists.
and no folder is created, though make asserts there was.
(No file or folder with that name exists on my system.)