fix hdfs put in case of multinode cluster