thanks a lot for pointing that out!
i tried to use DATA_MODE together with NEWLINES which did not help but what you pointed out works correct and is plain simple. ... stupid me ... guess it's still along way to enlightenent for me ;)
i'm still wondering which use the newlines parameter has, what use is the NEWLINES garbeled output?