make renderFile a sync function

- previously it was async, but no reason for this
- also made utf8 the default encoding
Merge pull request #1 from carrot/render-file-sync

Make renderFile a sync function