fix #2298: use MoveFileEx() on Windows