Cache file_hexdigests during build