MDL-38000 css: fixed handling of CSS files by outputlib.