Fix issue #1720 (#1721)
Fix issue #1720 (#1721)

* Fix issue #1720
Check if the item filename differs from the basename in path and update
the name in the download bar.

* Simplify

Co-authored-by: lubiedo <71f8e7976e4cbc4561c9d62fb283e7f788202acb@none>
Co-authored-by: lubiedo <c20df10c79b966f0d7fa817a31b2ff3c0cca8d73@gmail>
minbrowser/min,minbrowser/min,minbrowser/min