Section 1. Be it enacted, &c., That all county officers in this commonwealth, who are or may be salaried, shall pay all fees which they may be entitled to receive by virtue of their office into the county treasury of their respective counties, where existing laws do not provide for the payment of the same into the state treasury.