If any person entitled to a witness fee in any district court or county court makes an application to the clerk of such court for payment of the fee, the clerk, if the witness fee claimed was previously collected by him, shall pay the witness claimant the witness fee due. If the fee was not previously collected by the clerk, the state shall pay the witness claimant pursuant to section 13-3-104.