If the clerk fails or refuses to execute the deed as required in section twenty-seven of this article, the person requesting the deed may, at any time after such failure or refusal, but not more than six months after his right to the deed accrued, apply by petition to the circuit court of the county for an order compelling the clerk to execute the deed or appointing a commissioner to do so. If the person requesting the deed fails to make such application within the time allowed, he shall lose his right to the deed, but his rights against the clerk under the provisions of section sixty-seven of this article shall not be affected. Any deed executed pursuant to an order of the court or judge shall have the same force and effect as if executed and delivered by the clerk within the time specified in the preceding section.
Ten days' written notice of every such application must be given to the clerk. If, upon the hearing of such application, the court or judge is of the opinion that the applicant is not entitled to the notice or deed requested, the petition shall be dismissed at his costs; but if the court or judge is of the opinion that he is entitled to such notice or deed, then, upon his deposit with the clerk of the circuit court of a sum sufficient to cover the costs of preparing and serving the notice, unless such a deposit has already been made with the clerk of the county commission, an order shall be made by the court or judge directing the clerk to prepare and serve the notice or execute the deed, or appointing a commissioner for the purpose, as the court or judge shall determine. If it appears to the court or judge that the failure or refusal of the clerk was without reasonable cause, judgment shall be given against him for the costs of the proceedings; otherwise the costs shall be paid by the applicant.
Any commissioner appointed under the provisions of this section shall be subject to the same liabilities as are provided for the clerk. For the preparation of the notice to redeem, he shall be entitled to the same fee as is provided for the clerk. For the execution of the deed, he shall also be entitled to a fee of seven dollars and fifty cents and the recording expenses, to be paid by the grantee upon delivery of the deed.