Fixes when dir has spaces/non url friendly chars

I had a directory "/Users/name/Movies/Sam & Max/"

Wasn't working. :(

Now fixed. :)