Added functionality to the client, dm, and coordinator to let them write to an output file. The output file is the 2nd parameter in the command-line args for the client, dm, and coord.