Added a function to obtain the remote host from a path (unused)
Improved a comment
It will also be necessary to compare the remote hosts for rename()