The costs in all cases of conviction where the convict may be sentenced to suffer death, and all expenses attending the execution of the sentence, shall be adjudged and taxed by the court and paid out of the estate of the convict, and execution may be issued against the estate of the convict therefor.