use sys_open for Windows filename compatibility
Will want to test on arm, Linux, OSX, and Windows before merging.
Unfortunately a proper test writes to the filesystem so it's not easy to add this to the regression tests.
Will want to test on arm, Linux, OSX, and Windows before merging.
Unfortunately a proper test writes to the filesystem so it's not easy to add this to the regression tests.