House sales were 5% higher in August than in the same month the previous year, according to HM Revenue and Customs (HMRC) figures.