Make sure the data dir exists.