automatically selecting CSS for specific file types
when turning off embedded style sheet.
This should fix #246.