After #552222: Allow any kind of protocols in the scheme, let's use file:// for files that are uploaded from local storage.