Make sure fs.change_dir is always checked and results in proper errors.