change directory to the current buffer