rhg: in path_encode, use Vec directly instead of VecDest
No need to have a trivial wrapper over the type.
There's nothing confusing about vec.write_bytes(...), after all.
#require docutils gettext $ $TESTDIR/check-gendoc zh_CN checking for parse errors