Fixing errors when the project path has spaces.