Whole Foods Market saw third-quarter profits dip on the back of costs linked to new store openings.