In civil actions the prevailing party shall recover his costs, except as otherwise provided.
Mass. Gen. Laws ch. 261, § 1