except .. as ..

This replaces the "except Exception, e" syntax that does not work under Python 3.