Use forward slash in #2637's test on windows

Don't use toString to output file names in tests,
its output is platform dependent -- use `testIdent` instead.
Merge pull request #2699 from adriaanm/fix-2637-windows

Use forward slash in #2637's test on windows