Yes Oracle's sqlldr..
I tried setting binmode(FILE) to open data in bin mode but it didn't seem to change the stream data.
Here's the thing..what boggles me is that I can load the data correctly from a dat file into sqlldr, but not through stdout when I stream it like in the example. That's why I think it's a stdout issue and not a sqlldr issue.