Fix for unnamed path

When you use unnamed path feature, the directory name is automatically detected from the URL. But some chars are not allowed for directories names. So this patch will replace all the following chars with an underscore:
- for Windows support: `/`, `\`, `:`, `*`, `?`, `"`, `<`, `>`, `|`,
- URL specific chars: `&`, `=`, `[`, and `]`