Add explicit datadir setting.