make db backend threadsafe, and change default on fuzzer (':memory:' is not sharable, default to on-disk)