Fix "Open on Sourcegraph" button for files with symbols in the filePath
Created by: erzhtor
Looks like the "Open on Sourcegraph" button doesn't correctly handle files with symbols in filePath, which causes Sourcegraph to show 404 when clicking it. Example file: https://gitlab.com/pedropombeiro/dotfiles/-/blob/master/.shellrc/zshrc.d/functions/gdk.sh%23%23class.Work#L55-L117
