Fix Hdfs.mv in local mode due to HADOOP-9507

/cc @raronson @markhibberd 
It might be preferable to check the class type of `fs` instead here. Suggestions welcome.