Thousands flee Sun Valley, Ketchum ahead of massive wildfire