Hacky serialization to disk, on KeyboardInterrupt, for some entries that may be in bot.memory