All stipulations and private agreements or understandings of counsel or of parties to a suit, unless made in open court during the trial, must be reduced to writing and signed by the parties or counsel for the parties making the same.