Section 16. The fee of the master for the hearing and decision shall be as prescribed in section twenty-three of chapter two hundred and sixty-two; and, if the bond is approved, such fee shall be taxed in the plaintiff's costs, if he prevails in the action.