Fix tests on Windows

Tests were failing because Windows uses backslashes but the tests were expecting forward slashes.

Maybe `File.prototype.path` should return a `path.resolve`d path?