Canada's economy grew 0.1% in July, beating expectations of a 0.1% contraction, and matching June's 0.1% growth.