Fix for breaking svn&git when spaces in file path

Thanks for Alan Daveline for submitting this issue