scala.tools.nsc.interpreter.session
TODO: file locking.
Append one or more lines to the history file.
Overwrites the history file with the current memory.
TODO: file locking.