Fix binary file encoding so dzil test works