SI-4829 the :load command now fails if the command ends with a space (Pre-port)

The :load command now tries to be smart by detecting the presence of trailing spaces that might be insignificant.

On certain file systems, files with trailing whitespaces are permitted which is why we don't naively trim the argument.

Please review @adriaanm