Fix crash when saving transcript is called multiple times.

This is caused by transcript set to non-null again in some cases.

Test: manual
PiperOrigin-RevId: 194303928
Change-Id: Ife5e6bad3874751efab1d94a4262d83017b79808
1 file changed