URL-escape links to handle "weird" filenames

I had some trouble with files containing the #-character. URL-escaping the link should avoid problems with unusual file names.