added logic for mods that replace vanilla tf files, so the vanilla ones get restored after mod is disabled