Implement support for stdout saving when running commands via REST async...

...hronously (OMS-196)