Saving the file with UTF-8 encoding