Fixed incompatibility in couchdb_python 0.9 exceptions