persist a node repl's history