This reverts commit 340654e0, essentially reapplying 1d3ba05e. The test VFS/real-path-found-first.m that was failing on Windows is now passing with a workaround.