add unbuffered stream reader and make windows use it for validating hashes