Fix for Issue #79

Changed the way the path is generated to accommodate VMs with spaces in the name.