Fix data dir from config.