Hundreds of residents were evacuated as fires in southern New South Wales spread to a town of 1,600 people.