copy files from local to hdfs through the webhdfs api