packaging: use with open() instead of try/finally: close
11 files changed