Initialize the data directory if empty