Freeze the working directory.