Set the working directory.