Change all memory and disk usage to uint64

This will get tests passing on Windows 32bit.
May be a bit overkill but tests are green.

[#57413668]