Not that it matters, but can't you just print `StringIO`s?