Use encode option to open for python 3.0+

Deal with the case where the default local encoding is not unicode aware.  setup.py in python3.0+ will fail when reading in HISTORY.rst if the local encoding is something like ASCII.  Fortunately, in python3+, files can be opened with a specified encoding.