Open download in a new window instead of changing the URL

Closes gh-6764
Merge pull request #6766 from takluyver/i6764

Open ipynb download in a new window instead of changing the URL