Firefighters have been injured and at least 20 homes have been destroyed as crews battled through tough fire conditions in New South Wales on Thursday.