Handle spaces in filenames.