Update except statements to use `as` everywhere.