In addition to other provisions for the collection of taxes, the municipal officers of any municipality to which a tax is due may in writing direct a civil action to be commenced in the name of such municipality against the party liable; but no such defendant is liable for any costs of the action, unless it appears by the declaration and by proof that payment of said tax had been duly demanded before the action.
36 M.R.S. § 1032