Use open(..., 'rb') wherever possible, because of otherwise weird behavior on windows

See this discussion for details and effects of the issue:
  https://github.com/kennethreitz/requests/issues/2039