tests: add b'' to string literals where bytes are required
Since we are internally dealing with bytes only, we need to use bytes in the
tests too. This is one of the many patches which will make all the tests
completely use bytes.
skip-blame because we are just adding b''
Differential Revision: https://phab.mercurial-scm.org/D1788