No attachment of land or of any leasehold estate shall be valid against a subsequent attaching creditor, or against a subsequent purchaser in good faith and for value, unless the officer deposits a certified copy of the writ of attachment and so much of his return thereon as relates to the attachment of the estate, in the registry of deeds for the county or district where the land lies.
Mass. Gen. Laws ch. 223, § 63