Add rename wrapper so conditional Win32/POSIX code is in one spot.
On Win32 rename fails if the target exists. This is not POSIX, and is not the behaviour we want - as we recently added a third call site, time to solve this in common code.
Add rename wrapper so conditional Win32/POSIX code is in one spot.
On Win32 rename fails if the target exists. This is not POSIX,
and is not the behaviour we want - as we recently added a third
call site, time to solve this in common code.