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.

This makes #2637 Windows-friendly.

review by @retronym