The plaintiff or appellant, shall, on docketing a cause in the Supreme Court, pay the Clerk such fee as the Supreme Court shall have prescribed by its Rules. Upon the determination of the cause, the Clerk shall enter on the record a bill of the costs, and after deducting his or her own fees shall, on demand, refund any portion of the sum that may be due to the plaintiff or appellant.
If the Clerk wilfully fails or neglects to comply with this section, he or she shall be fined in such amount or imprisoned for such term, or both, as the trial court, in its discretion, may determine; and shall forfeit his or her office.