No person shall be compelled to pay costs in any criminal case except after conviction on final trial.