py3: use range instead on xrange on py3 in tests/test-atomictempfile.py
xrange is not available on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D2323
py3: add b'' prefix in test-mq-qrefresh-replace-log-message.t
# ski-blame as we just added b''
Differential Revision: https://phab.mercurial-scm.org/D2322