ensure datadirs created