Wrap all access to gdbm with mutex.  Closes CID #1206504