beam/examples/beamsh: chdir