Be more careful about opening files in text vs. binary mode. For example, before the change in write_file_if_changed, .dsp files generated on Windows had \r\r\n line endings.
Be more careful about opening files in text vs. binary mode.
For example, before the change in write_file_if_changed, .dsp files
generated on Windows had \r\r\n line endings.

* build/generator/gen_win.py (WinGeneratorBase:copyfile,
  WinGeneratorBase:movefile, WinGeneratorBase:__init__,
  WinGeneratorBase::write_file_if_changed): Open files in binary mode.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@845330 13f79535-47bb-0310-9956-ffa450edef68

wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion