TEZ-419. Change SimpleOutput to work with the new engine APIs. (hitesh)