Thousands of people across the Philippines have been evacuated from their homes as Tropical Storm Trami inches closer to making landfall.