Always specify the exception type in except: blocks

An unspecified except: also catches KeyboardInterrupts and the like,
which isn't very nice :-)