Implementation of REP 143

What's the reason for this? Is it because you have opened it as binary? Should we or can we use the `codecs` module?

https://docs.python.org/2/library/codecs.html#codecs.open