You cann get the string of this LaTeX representation with t.latex_(), which you can save to a file as follows:
sage: with open('/path/to/file.txt', 'w') as f: