Folder names with spaces

Cope with folder names that have space and stuff in them - escape the query string