Write stdout and stderr to individual files on local storage.
Move stdout and stderr to shared storage when a task has completed.