Climate change is making megafires more common, with potentially dire economic consequences.