make sure empty db dir exists