Allow all normal errors to be returned, except EOF.

Fixes #25