Fix memory leak in digest_file() on ferror().  OK tedu@ lteo@