I agree with all of this - except for the part about the iCloud Drive path containing a space being a problem.
That should not be a problem, and if it is, it's a huge flaw in the software you are using, and you should file a bug. (Or if it's your software, fix it.)
Seriously, UNIX has supported spaces in filenames since the 70s.