Changed to UTF-8 encoding when writing stories to a file