Fixed creating data dir.