Merge pull request #4560 from sdedic/lsp/filepath-uri

Accept file paths passed as a plain string, toURL throws IAE.