Move FileChecksum to hashes.h, add unit test