Use os.path to get url basename.
Use os.path to get url basename.

Can't trust that the Resource.url field in the database won't be
transformed into a fully qualified url. Which is what happens when a
package_update is run, even when saving another separate resource.

okfn/ckanext-s3filestore,okfn/ckanext-s3filestore