ensure mongo db dir creation