write transcript contents to disk for debugging