Investors seeking shelter from geopolitical turmoil have put the outflows of recent years into reverse.