rename() cannot replace existing files on Windows.
[tinc] / src / solaris /
drwxr-xr-x   ..
-rw-r--r-- 4341 device.c