I came up with one work around. I can translate spaces to a character(~) and then translate it back on the other end. Before External call replace spaces with a character, make call, change back or delete. In external script I can translate the character to spaces.
Not ideal but it works.