On the magnitude function of domains in Euclidean space