Thousands flee as wildfires rage in western Canada