Add node support for getDataDir