encode html as utf8 before writing out
Merge pull request #4 from reaganveg/master

encode html as utf8 before writing out