cool, yeah this is i guess a linux vs. windows/macos thing. generally in linux the space character is a file delimiter and so filenames need to be quoted or the spaces "escaped" to make sure a filename with spaces is treated as a single filename and not two separate "things".
probably the script has a place where it's not expecting a space at the beginning of a filename...
rob