pub fn set_current_dir(path: &str) -> Result<()>
Changes the current working directory to the specified path.