code: private Path getTaskLogFileFromId(String taskId)
    {
      return new Path(mergePaths(config.getDirectory(), taskId.replace(':', '_')));
    }
docs: Due to https://issues.apache.org/jira/browse/HDFS-13 ":" are not allowed in
  path names. So we format paths differently for HDFS.