Add stat, lstat, fstat, chown and fchown that return and expect uid and gid as SIDs on Windows