79 . If the mortgaged property is sold, the board shall, after deducting from the proceeds of the sale the amount due on the mortgage and the money and costs recoverable under section 78, pay the balance remaining, if any, either to the borrower or any person legally entitled to accept the payments due to the borrower, or, where the board is in doubt as to whom the money should be paid, into the District Court of the district in which the mortgaged property is situate. *Payment of excess balance.*