Replaced hard-coded Windows path character with Path.DirectortySeparatorChar which prevented diagnostics pages from working on OSes with "/" as path separator.