Removed err from exception handling in setup file as it breaks installation in Python 3 and isn't being used.

Fixes #350.