When, through fraud, a mutual mistake of the parties or a mistake of one party which the other at the time knew or suspected, a written contract does not truly express the intention of the parties, it may be revised by a court on the application of the party aggrieved so as to express that intention, so far as it can be done without prejudice to the rights acquired by third persons in good faith and for value.