Remove local path

In metadata extraction if the documentURI is a local path then
do not store it, just store the filename instead