Using text streams instead of binary streams when communicating with subprocesses during library detection.