TEZ-400. Change RuntimeTask to handle Input/Output lifecycle (part of
TEZ-398). (sseth)