Support file urls.

This implementation simply uses a Link resource rather than a RemoteFile
to "download" the url (when it starts with 'file').