Improve handling of asset content-types (including SVGs)