removed 2.5-isms

replaced instances of `except x, e` with `except x as e`