Rewrite the `with` statement for output suppression so that it works with Python 2.6