Revert "Use modern except syntax"

This reverts commit 99eae001999c3fc81aa5f896cc33a1af03c5b07e.