Close file handles in setup.py
Merge pull request #412 from hvdklauw/fix-open-file-handles

Close file handles in setup.py