fix download hdfs bug.