Adds HDFS method to create a tmp dir.

Because of the recursive component. It could be that I get a different path instead of `tmpPath` if `tmpPath` already exists.