Each juror summoned and attending the execution of a writ ad quod damnum from the board of supervisors shall be entitled to Two Dollars ($2.00), the clerk shall be entitled to One Dollar ($1.00) for the writ, and the sheriff shall be entitled to three dollars for summoning the jury and to Three Dollars ($3.00) for his attendance upon the inquest, to be paid by the party petitioning for the writ, who may be required to give security for the payment of such fees before the writ is issued.