Fix copyFromLocal command in Hadoop 2.x does not generate directories recursively

The directory for input file has to be generated manually in hdfs-2