TEZ-1210. TezClientUtils.localizeDagPlanAsText() needs to be fixed for session mode (Alexander Pivovarov via bikas)
(cherry picked from commit 1cee45da1be60fd1d0b71a84fe5875920931da5c)