Fix CLI output after py3 fixes.