Another round of replacing invalid uses of to!string(Path) with Path.toNativeString().