sanitizeSpaces function

Escape spaces in a string as needed in file names used in Makefile files