tests: handles bytes/str mismatch in test-commit-interface-curses.t
This fixes various test failures on Python 3.
Differential Revision: https://phab.mercurial-scm.org/D5727
ERROR: FIXME: This is a known failure of filelog.size for data starting with \1\nOK.