Pull out logic for determining asset path into a separate function
Set .css extension on saved assets that have Content-Type text/css

Ensures that the content-type will be set properly when they
are served to the browser.