strip "/files" from PR link

before attaching the PR link to the bug, i often check out the changes one last time (apparently, i'm not [the only one](https://bugzilla.mozilla.org/show_bug.cgi?id=870677#c14)), and clicking the "attach" button then submit a link that ends with "/files", which makes it not redirect on bugzilla..