For those who might need it in the future here's how to ( figured it out just now ).

The kix script strippit.kix contains the following

open(1,"f:\temp\test\dirs\result.txt",5)
WriteLine( 1 , left($text,LEN($text) - 1) + @CRLF)

The batch file does this

for /f %%i in ('type f:\temp\test\dirs\input.txt') do f:\temp\test\dirs\kix32 f:\temp\test\dirs\strippit.kix $text=%%i

Next challenge for me right now is to hunt support.microsoft.com and figure out
how i can retrieve all underlying shares under a cluster fileshare resource.

Once i'll have it i'll dump the code in here for those who are interested.