CB-2432 CB-3185 CB-5975: Correctly handle content:// urls especially when non-local-to-device