Commit d879fc7f6b changed the type of `newpath` and updated all uses in common code. A Windows-only block was skipped. Update that now. Fixes: d879fc7f6b ("Convert file selection to use array<char, N>, not char[N]")
d879fc7f6b