Auto create data directory.