Better handling of paths with spaces on windows