Repl: newitem should return a diff, like mkdir