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
% change the id of the tree root
initializing destination source-hg repository
scanning source...
sorting...
converting...
1 Initial add
0 Changed root
% manifest of tip
644 file