upgrade: byteify a few error messages
These were flagged by pytype (which is currently disabled on this file due to
another failure).
Differential Revision: https://phab.mercurial-scm.org/D11905
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors