Removed Windows-specific encoding fixes: using utf8 file writes should do the trick on Win