Add filenameFromURL helper to extract filename from URL path when
Content-Disposition header is empty or not present. This fixes the issue
where direct link downloads fail due to empty filename.
Co-authored-by: krau <71133316+krau@users.noreply.github.com>