Shares of Pure Storage had their best day ever and headed for a record after the company reported better than expected results and lifted its guidance.