Fixed it so that it would work when the factions folder doesn't exist when saving.