Creates an input stream from the string path and add a closure for the input stream to be closed on task completion.
Create a new file and open it for writing.
Create a new file and open it for writing. If compression is enabled in the JobContext the stream will write compressed data to disk. An exception will be thrown if the file already exists.
Returns the compression codec extension to be used in a file name, e.g.
Returns the compression codec extension to be used in a file name, e.g. ".gzip").