Use six to provide StringIO