Fixing UPDATE error in filecache table when renaming files

Fixing UPDATE error in filecache table when renaming files. Add storage id to the where clause to avoid updating entries of other users.