Handle working directories with spaces in their names.