Fixed hadoop dir creation during hadoop-swift lib download
Fixed hadoop dir creation during hadoop-swift lib download

During installation of IDH 3.0.2 there is no /usr/lib/hadoop/lib
folder at moment of the code excecution. "curl --create-dirs" ignores
umask and creates folder with 750 permissions instead of expected 755.
And therefore manager fails to format HDFS later.

Installation of hadoop-swift need to be revised in the future, but for
now this patch fixes the issue.

Applying the patch to IDH 2.5.1 to get rid of dangerous
"curl --create-dir"

Change-Id: Icbc781f6a36ababb362a456e2bf46bea871e546c

xme1226/sahara,egafford/sahara,matips/iosr-2015,bigfootproject/sahara,henaras/sahara,zhangjunli177/sahara,xme1226/sahara,bigfootproject/sahara,zhujzhuo/Sahara,mapr/sahara,redhat-openstack/sahara,keedio/sahara,ekasitk/sahara,esikachev/scenario,keedio/sahara,mapr/sahara,crobby/sahara,openstack/sahara,redhat-openstack/sahara,tellesnobrega/sahara,xme1226/sahara,bigfootproject/sahara,openstack/sahara,egafford/sahara,zhangjunli177/sahara,henaras/sahara,crobby/sahara,esikachev/sahara-backup,esikachev/sahara-backup,crobby/sahara,citrix-openstack-build/sahara,tellesnobrega/storm_plugin,ekasitk/sahara,zhujzhuo/Sahara,henaras/sahara,matips/iosr-2015,esikachev/sahara-backup,zhujzhuo/Sahara,esikachev/scenario,citrix-openstack-build/sahara,tellesnobrega/sahara,keedio/sahara,ekasitk/sahara,matips/iosr-2015,zhangjunli177/sahara,tellesnobrega/storm_plugin,tellesnobrega/storm_plugin,citrix-openstack-build/sahara,esikachev/scenario,redhat-openstack/sahara,mapr/sahara