Typo in Windows support: s/setmode/set_binary_mode/; thanks, Peter Breitenlohner