Use Files uri in Upsert

When Fuse inserts a file to database it does not set is_download
column. When app tries insert with Download uri, upsert fails because
getIdIfPathExistsForCallingPackage can't find a row ID with
is_download=1.

Use Files uri to ensure upsert updates existing row.

Test: atest MediaStore_Images_MediaTest#testUpsert
Bug: 149300533
Change-Id: I25435f54828dfc63df496ce59130f79d784f7193
1 file changed