HDFS-2019. Fix all the places where Java method File.list is used with FileUtil.list API. Contributed by Bharath Mundlapudi.