It turns out that `path.posix` does not always reliably return forward slash paths on Windows. PR Close #25862