ensure data directory exists