tests: Windows compatibility fixes
- printenv.py, md5sum.py, simplemerge, test-archive, test-merge1,
test-merge-symlinks: set standard streams to binary mode
- test-encode: replace "gunzip" by "gzip -d"
- test-hup: requires fifo
% Without -v
access log created - .hg/hgrc respected
% errors
% With -v
listening at http://localhost/ (bound to 127.0.0.1)
% errors
% With --prefix foo
listening at http://localhost/foo/ (bound to 127.0.0.1)
% errors
% With --prefix /foo
listening at http://localhost/foo/ (bound to 127.0.0.1)
% errors
% With --prefix foo/
listening at http://localhost/foo/ (bound to 127.0.0.1)
% errors
% With --prefix /foo/
listening at http://localhost/foo/ (bound to 127.0.0.1)
% errors