[Bug 56136] ImageGetDigestStream does not behave the same as on windows