Rpleace a string of spaces with a single underscore