Record output from slave task execution

Resolves #3