ensure config directory exists