Set Content-Type on generated files

Fixes some issues with Safari not recognizing the stylesheet