Respect parameter "errors" for default encoding (closes #9)