The prosecutor shall advance the fees and incur the expenses of prosecution in the same manner as in civil causes, and no treasury shall be liable for the same.