Fix logic that auto-appends .css extension.