The Sri Lankan president flees the country before he was due to step down.