[lit] Use newer StringIO class.