Ensure config dir exists.