make sure the data dir exists