The historic heatwave in recent days has exposed just how far behind France has fallen, as budget constraints now hinder efforts to adapt more than ever.