if you mkdir() on a path where there is already a file, the operation does
not fail. Instead the operation returns 0.
This is at odds with the behaviour of HDFS.
HADOOP-6229 add the check for the parent dir not being a file, but something similar is needed for the destination dir itself