Add additional logging where downloadEntry.tempName is null.

Add some @Nullable and @NonNull annotations to DownloadDatabase.