All moneys received during any fiscal year on account of such fees in excess of the actual cost of administration of this subchapter shall be paid at the end thereof by the Secretary of the Treasury to the Territory of Alaska, to be expended in such manner as the Legislature of the Territory may direct for the benefit of public education and roads.