python/samba/gp_parse: PY3 open file non-binary mode for write_binary