The court in which the cause is pending, or the chancellor or judge thereof in vacation, shall fix and allow reasonable compensation for commissioners, referees, auditors, and arbitrators; and such compensation shall be taxed and collected as costs in the suit.