Shouldn't this use filepath.ToSlash instead?