Hi,
I had a similar problem.
One suggestion is when you rebuild your file path use the ‘file join’ command. Brent Welch in the excellent “Practical Programming in Tcl and Tk” recommends this method as you can hit problems simply joining pathnames using a slash. (p 104 of the 3rd edition refers to this).
This worked for me.
Regards
Garry