Produce correct MIME type for SVG files

Could be easily extended to handle other MIME types, too.
Oh, I see what you mean -- this is a bad patch. Let me make a new one...