Recover when history file cannot be written to

The MemoryHistory is pretty useless since we tear down the ConsoleReader
on every read, but it's certainly better than crashing.

Refs technomancy/leiningen#1168