def METHOD_NAME(self, path):
    """Wrap os.chdir."""
    cwd = os.getcwd()
    os.METHOD_NAME(path)
    if cwd != os.getcwd():
        event = FileSystemEvent(FileSystemEvent.CHDIR, path + "/")
        self.handle_event(event)