binary mode for ElementTree