'Rename this path to the given path, clobbering the existing
destination if it exists.'

def replace(self, target):

    if self._closed:
        self._raise_closed()
    self._accessor.replace(self, target)
