PYTHON-436 more Python 2.4 fixes for try/except/finally