replace whitespace in a string with %20