A small bit of python3 friendliness to setup.py

The file() builtin no longer exists in python3. Use open() instead.
Also explicitly using the locals() dict to avoid a NameError.
Merge pull request #27 from bencord0/patch-1

Make setup.py run on Python 3 again.