The filing of the certificate in the registry of deeds is deemed to create, and creates, a mortgage on the real estate described in the deed for the district that has priority over all other mortgages, liens, attachments and encumbrances of any nature, except liens, attachments and claims for taxes, and gives to the district all the rights usually possessed by mortgagees, except that the district