Fix overwriting files on Windows
Move ly:rename-file to C++ and make it use MoveFileEx for Windows. Additionally, fall back to copying the file contents if that fails.
Fixes #6016 (closed)
Tested with a full build of GUB, now LilyPond can replace a PDF file opened by Edge & Frescobaldi which was previously failing.