prune unused exceptions imports for Python 3

Resolves #41.

Did not seem to cause any test failures (some were failing for other reasons, like too many open files), and I have not been able to find a case where these imports are used.