Add a "uname and arch" function, borrowed from update.js.