fix task log streaming
Merge pull request #966 from metamx/fix-tasklog-streaming

fix task log streaming