win32: use the proper backslash in Windows pathes
Although a lot of Windows API's seem to be happy with the mixed slashes that we use. The FindFirstFileExW() doesn't seem to like forward slash when allowing long pathes to be found.
Also try replacing the forward slashes if FindFirstFileExW() fails for extra safety.
Fixes #27208 (closed)