close files in setup.py

otherwise python3.4 warns
Merge pull request #1708 from alex/patch-2

close files in setup.py