Fixed URL generation

Previously generated URLs looked like

```
http://127.0.0.1:60307/teaspoon/default/?file[]=/Users/...
```

which caused problems because /default/?... is actually not recognized while /default?... is