made database filesystem thread safe