Fix the encodage for the reading stream to utf-8.
Make it work for Python3.*