Handle spaces in dir/file names