fix more bare excepts

I only fixed the lib directory with my last PR.  This should get all of them.