House a total loss in Hopkinton fire