OpenWrite["file"] opens a file to write output to it, and returns an OutputStream object.
OpenWrite deletes any existing contents in a file, and prepares to write output starting at the beginning of the file.
For output to pipes, OpenWrite and OpenAppend are equivalent.
See notes for OpenAppend.
See Section 2.12.3.
New in Version 1.