doesn't assume user has 'set autochdir' set