Add Data dir detect and create if dir is not exist.