TOOLS/umpv: make it work with Python 3

Apparently they removed octal literals, and made them invalid syntax.
TOOLS/umpv: allow passing options

But only via a special environment variable.