RenameDialog: call compareFiles() only on files
Since compareFiles() compares file contests, for local ones, there is no use calling it on directories.
Edited by Ahmad Samir
Since compareFiles() compares file contests, for local ones, there is no use calling it on directories.