Before 2008, the integration of global financial markets resulted in more international capital flows. But after the Great Recession, banks curbed their lending abroad.