Add datadir directive.