tools: kointegrate: use pretty_rev instead

(integrated from trunk branch change 242159e by Todd Whiteman <toddw@activestate.com>)