Except this won't work with files bigger than 5gb. It might be worth the time to do it right.
I don't think the author intended this script to solve everyone's problems. It's an interesting exercise and can be useful in some situations. If it's not useful for your needs, then as has been pointed out there are many many other options.
> It might be worth the time to do it right.
The right way is the most simple way for your use case. For files under 5GB, this is one of the right ways.
I'll fix it when my game requires update files of >5GB :)