Fix data dir creation