If a dog which has been impounded is claimed by the owner, the fee for impounding and keeping the dog, as fixed by the board of supervisors, shall be paid by the owner to the person, organization, or association which has custody of the dog, to be retained by him or them. No charge for fees pertaining to the dog shall be paid by the board of supervisors.