Merge "MTP: check for replacing existing files via the database instead of the file system"