Fix an issue with spaces in paths.