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.