Replaces spaces in string with '%20'