In all counties where the tax collector is paid on a salary instead of a fee basis, all fees allowed under the terms of this title to be paid to the tax collector shall by said tax collector be paid into the county treasury, or to such officials performing the duties of county treasurer.