Stageout failed files to an alternate directory.

This will prevent race conditions in ASO from overwriting a
successful job's output with that from a failed job.