Fixes intermine/intermine#445
Make a distinction between perma and download links