DString Class
Write contents of the string to a file, using a UTF-8 filename, and throw a DFileException on error