Use consistent return type (URL) for file/resources.

Accompanies `cider` #663.