Fix open to always use binary mode, for Windows

Fix for https://github.com/PVince81/pyocclient/issues/57

@mildagenius can you run the unit tests `./runtests.sh` on Windows ?
Please make sure to edit the config file first `owncloud/test/config.py` and create a user called "share".