|ListValue||List of lines to write to file.|
|OutFilePath||Path of file to write to.|
Each list element is written as a line to the file and ends with a newline.
Note this does not yet support non-utf8 encoding.
For information regarding exceptions / errors, see here
% set MyList [list one two three]
one two three
% List2File $MyList test.txt
% cat test.txt