During source manager test, write back the file using binary mode.
authorZachary Turner <zturner@google.com>
Thu, 15 Jan 2015 22:53:44 +0000 (22:53 +0000)
committerZachary Turner <zturner@google.com>
Thu, 15 Jan 2015 22:53:44 +0000 (22:53 +0000)
commit8f3f7beac4d73a0c4e33f085e6885d37a61efbf7
treef18e07f70abcbc1abfa5f38603892877cd326923
parent4013950034f359f846250308e48dce162b86b5c3
During source manager test, write back the file using binary mode.

On Windows, opening with "w" opens it as text instead of binary.
This causes translation of newline characters, so that "\n" turns
into "\r\n", which in turn leads to git detecting that the file
has changed and wanting to commit it.

llvm-svn: 226220
lldb/test/source-manager/TestSourceManager.py