Add failed code blocks to readline history.

Fixes #32