YARN-2734. Skipped sub-folders in the local log dir when aggregating logs. Contributed by Xuan Gong.