encodeURI the paths!

closes https://github.com/component/component/issues/438