Make str_insert() and str_delete() members of StringBuf.