Refactor filehash UInt32 & tests.