Use relative path for data dir to realtime dir.