Makes sure the data directory exists