chriseppstein/compass — pull request #1348 by johnmave126 (2013-07-23 04:10:35+00:00)
Title: Fix #949.

Fix #949.
Use binary mode to write file if unix_newlines is set.
I don't know if there will be any side effect if using binary mode to write file. At least I tested it on my machine and no side effect up to now.
I closed the #1346 as it seems I need to make changes on master.