SeleniumHQ/selenium — pull request #91 by kenkania (2013-07-01 21:07:02+00:00)
Title: Fix #5762, unable to install chrome extension on windows with python.

Fix #5762, unable to install chrome extension on windows with python.

The crx was being opened in text mode, which on windows will automatically
convert newlines to \r\n, which corrupted the extension.