Restore the original console color after logging a message.

Fixes #277