I don't think we need this check here, if the Files.move operation fails, we fall back to copy+delete?

It may be good to keep the code above as reference for how to check if filesystem is same or not, but I think it very strange that to move a directory you first have to create some files.