Fire ravages former dairy in Harrogate district