The prothonotary shall not, directly or indirectly, purchase or contract for the fees of any witness attending the Superior Court. Any fees, so purchased, shall be forfeited. Any prothonotary who purchases such fees shall be fined double the amount of the fees purchased.