Unfortunately I don't have access to either Linux or MacOS. As far as I know I don't use spaces in file names. You're actually specifically prevented from entering a [SPACE] in saved file names.
You're quite right, of course. The executable game file does indeed have spaces. As I only use Windows, this has never been a particular concern for me.