Make renderFile a sync function

Previously it was async, but no reason for this. Also made utf8 the default encoding :palm_tree: