Merge pull request #3187 from kgaillot/T694
T694: Fix unit test on 32-bit systems with 64-bit file sizes