Fix for incorrect behavior of pathGetUserHomeDirectory() on Win32.