Rack middleware to convert SVGs automatically