this patch eliminates a memory leak in the dynamic engine path generatio...

...n under Windows-- the allocated memory for the path is now sufficient, and the additional code avoids the use of 'sprintf' family functions completely as Veracode would not stop complaining about passing environment variables into any of these functions (even the secure ones)