I agree that the change you suggested is recommended, but that shouldn't cause the problem he is experiencing as the warning is printed to STDERR and doesn't interfere with the header.
I tested the script locally with apache 1.3.34 without any problems.