add forgotten binmodes in this test
encode utf8 strings before sending them through git