Fix bugs in wrappers for no-arg chdir to $HOME