Firefighters battle major fires across NSW