(PUP-2946) Ensure #compare_stream uses binary strings