Move hdfs-tmpdir (copied from hadoop)