Convert whitespace to spaces