Added Support for Directory with Spaces in Name

Using this script in a windows environment I found issues when it was located in a path that contained spaces. I'm not sure if this is the best way to fix this as I'm not familar with bash scripting but after Google'ing around and many tests I found this to work.