fixed wrong mimetypes for minify case in compile method

When uploading in example svg file, the mime-type is wrong, it is: image/svg, not image/svg+xml and browsers won't render them.

btw: 
Also these files doesn't have cache timestamp when they are requested from server, i dont know if it is on purpose or not.

greets!