Add async FileDigester class.
BinpkgVerifier: use async FileDigester
Handle os.write() return code with loop.