Added Rack middleware to convert file extensions to Accept headers.