The court may order the sheriff or other proper officer of any county to take into custody and commit to jail any person fined for a contempt until such fine shall be paid or discharged. If unable to pay such fine, such person may be committed to jail by the court for not exceeding three months.
42 Pa.C.S. § 4134