HADOOP-9177. Address issues that reported by static code analysis on winutils. Contributed by Ivan Mitic.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-1-win@1436634 13f79535-47bb-0310-9956-ffa450edef68