Also check file existing if the url is a file one
Opens urls to local files with colons in their names correctly BUG: 483017
(cherry picked from commit 1e09e084)
Opens urls to local files with colons in their names correctly BUG: 483017
(cherry picked from commit 1e09e084)