Encode separately the components of the FALLBACK section

Right now any space in the fallback section are URI encoded
so things like this:
`/ /offline.html`
will result in:
`/%20/offline.html`
This fix encodes the two urls separately