Fix outdated-depth test on Windows.

People keep forgetting to use the path functions...