'Rename the given file.
This method returns a Deferred that is called back when it succeeds.
@type oldpath: L{bytes}
@param oldpath: the current location of the file.
@type newpath: L{bytes}
@param newpath: the new file name.'

def renameFile(self, oldpath, newpath):

    return self._sendRequest(FXP_RENAME, (NS(oldpath) + NS(newpath)))
