better support for spaces in paths