tests: various Python 3 ports for test-remotefilelog-datapack.py

Authored by indygreg.

Description

tests: various Python 3 ports for test-remotefilelog-datapack.py

Use bytes I/O. Use byteschr(). Convert temporary path to bytes.

Differential Revision: https://phab.mercurial-scm.org/D5758

Details