Force native slashes before comparing paths; on Windows mixing separators caused a unit test to fail. No functional changes.