Aaron pointed out the functions should be on DiskTreeTransform not spread some to TreeTransform.
Also, instead of using ctypes, we now just write our own function in the win32 extension module. Which seems to work just fine. And osutils.fset_mtime() is a thunk into that functionality.