Fix Python 2 issues in chutney refactor

Please merge fix-python2-issues from https://github.com/teor2345/chutney.git

This fixes:

  • Brackets around print statements
  • Double-opening a file