Handle URI's with spaces in them