Fix for actual large files (beyond 4TB)

Apparently I assumed it "was 1985 all over again".

Unsigned/signed cast in 64bit, so don't try to make files over 8
exabytes in size.