TOOLS/umpv: make it work with Python 3 (again)

Apparently, the 3rd (2nd) parameter to string.translate() function was
removed.

Also, make_abs() had a mistake - not sure how this passed testing.