Fixes add-content-type wrapper

The wrapper would fail to add a content type when a resource was served
from an uberjar. This is because the resource within the jar is not
considered a file. Ring solved this in a similar way by using the uri
to determine content-type.