Write raw or encoded subtitles