Investments in branding, marketing, and distribution help to explain the growing popularity of pistachios.