Fixes #3802 - we used to treat any file with "css" in the filename as a
css file.