Do you (or anyone) an idea of where/why lyx add those characters to the script paths? If they are in a script that could be easyly fixed. It it is in binary code it could be more difficult, but still feasible.
As far as I remember, it is binary. '' is added to get around path-with-blank problems. Bo