UTF-8 decode and trim each line.

Closes #18.