Minor change

Replaced "text/plain" with MediaTypeNames equivalent.