fails:StringIO#string= resets the line number
fails:StringIO#string= tries to convert the passed Object to a String using #to_str
