Get rid of bare except:s
Add six version requirement

six.add_metaclass isn't available in all versions of six.