Fixes to the log fetching from HDInsight Clusters

This fixes an issue where not all logs were fetched from an application when more than one container of the application was executed on the same node.
Merge pull request #902 from Microsoft-CISL/weimer_hdi_log_fix

Fixes to the log fetching from HDInsight Clusters