Thousands of Malawians have fled their homes in Durban due to xenophobic threats ahead of an expulsion deadline.