If the magistrate order the defendant to be committed, he must make out a commitment, signed by him, with his name of office, and deliver it, with the defendant, to the officer to whom he is committed, or, if that officer is not present, to a peace officer, who must deliver the defendant into the proper custody, together with the commitment.
Ca. Pen. Code § 876