Fix issues with spaces in filenames or directories.