PLEASE choose a different name for your string "path". "path" is a pre-defined system variable in c-script, so you are using it in an unnatural way, and this MAY be causing the problem.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial