Fixup try/except syntax.