Use Digest::SHA1.file in Mdm::Module::Ancestor

[#50752269]

Digest::SHA1.file will read the file in chunks, so there's no reason to
do the chunked reads in derived_real_path_sha1_hex_digest.