Text this: International capital flows and national creditworthiness