Convert relative file system paths into safe URI paths
npm install --save uri-path
var URIpath = require('uri-path');
// Properly encode URI path segments
URIpath('../abc/@#$%¨&()[]{}-_= ß/môòñ 月 قمر');
// -> '../abc/@#$%¨&()[]{}-_=+ß/môòñ 月 قمر'
// Also supports paths with Windows directory separators
URIpath('a\\b\\c');
// -> 'a/b/c'