"rename" to rename the machine

To rename a machine, you can type

    machine rename OLDNAME NEWNAME

this should output `err` so we can see what the error is.