Use the with statement to open files in setup.py