Begin unsquashfs module, port copy operation from Thus.

This block would be easier to read like this (but that is personal opinion):

    if statusEntry.total == 0:
        continue
    partialProgress = 0.5