PY3: ensuring file stream is read as binary
Merge branch 'py3' of https://github.com/sdegryze/scikit-learn into py3