After we've been hit by Large File Support problems several times in the past week (which only occur on 32 bit platforms, which I don't have), this is yet another attempt to fix the issue.
It is a library which I have written years ago for other projects. This library is licensed under BSD 2-clause, because it is very generic.