fix a few minor issues in error handling in ddb_cons_finalize
Merge branch 'master' of git://github.com/discoproject/discodb