MIME type fix

finfo_file() doesn't detect mime types of CSS and JS files appropriately because of the lack of magic strings in those files. This fix disables finfo_file() and mime_content_type() when detecting mime types for CSS and JS files.