Rename clearerr to clear_error

This should help with #41.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>