Fix windows line endings in offline compress

django itself always opens template files in binary mode, which causes an issue with offline compression on windows when template files contain windows line endings.
Merge pull request #447 from apmorton/patch-1

Fix windows line endings in offline compress