Add chdir context manager.