Fixed some pylint complaints in setup.py, including a bad open mode ('rt') that may have caused real problems.

Leo build: 20141031092007