Fix: Work around missing os.path.samefile on Windows.