[tor-commits] [bridgedb/develop] Use contextlib's context manager.