Set data directory.