added text/plain content type to WriteString