Fixed fatal error in export tm as xliff.  Now it writes to a temp file and deletes the file when done.