Allow targets, schemes and folders named with spaces

The script didn't work if I had a scheme called, for example, "My Great App".