README edits
set encoding field and handle errors better