[tstr sg] convert some uses of TPTR to use a new tstr_dump() function.