convert: use bytes for value in extra dict
The keys and values of the extra dict are expected to be bytes. Before this
fix, there was a crash in mercurial.changelog.encodeextra().
#require docutils gettext $ $TESTDIR/check-gendoc el checking for parse errors