Fix CSS override and non-default CSS

Fix a bug that occurs when there is a non-default `css` setting
specified and one tries to preview a markdown file with an extension
other than the first listed in `markdown_filetypes` setting (e.g.
".markdown" instead of ".md").