py3: use pycompat.bytestr() to convert str into bytes...
py3: use pycompat.bytestr() to convert str into bytes
the keys of opts are str here, so we have to convert it to bytes before passing
into error.Abort()
Differential Revision:
https://phab.mercurial-scm.org/D3617