I guess the other possibility is that the first line of output is being swallowed by something.

Try outputting a dummy string (with @CRLF after it) and see what happens.