Open output files in text mode, after all they are text files.
(Binary mode caused problems when "python" was 3.0.)
1 file changed