Changed the file writers to use UTF-8