TEZ-512. Write the dag plan to disk when using sessions, if at the DEBUG
log level. (sseth)