Handle spaces in path