styles: write UTF-8 encoded dtstyle files