beam/examples/beamsh: simplify commands by always creating and sending stdout and stderr for them
beam/examples/beamsh: moved builtins to a separate file for readability