Fix broken friends call from moving files.  Fix sql for delete for Filecache.