Past climate change may have fried rainforests