Fixing Windows path factory.