Wrap dbfile:open-db call with mutex to minimize over-opening of db's