Fix progressbar on nested folders.

May require more test as I only tested it with hardcoded values in files and 100% completed torrent