Firefighters endure triple-digit temperatures while battling blazes