fails:StringIO#string= raises a TypeError when the passed Object can't be converted to an Integer
