Fixed all the path handling of VPM to use toNativeString() instead of to!string().