remote-hg: set stdout to binary mode on win32