export .x file as a binary

Hi,
I need to have binary .x (DirectX) file as a output from Blender… but both plugins I have saves only text-file! I tried built in exporter and DP Exporter (have some options, but not binary/ascii option).
Is there a way to convert text .x file to binary .x file ?
Thanks!