make sure dir exists