Fix downloads download.

- Fix download URL to point to the actual file and not the JSON data
- Fix download media type - zipball downloads don't work with the
  application/octet-stream type
Remove useless check.

We can't return null from getFragment() anyway, as that will lead to a
NPE in FragmentStatePagerAdapter.
Minor format fix.