Improve encode error handling, docs in README