Replace spaces with %20 in url paths