minor updates:

- allow `enc`oding to be passed on options. `utf8` is set by default
- update docs