function decode(filePath) {
    try {
        return decodeURIComponent(filePath);
    } catch (err) {
        return -1;
    }
}
Copy from:
https://github.com/pillarjs/send/blob/b69cbb3dc4c09c37917d08a4c13fcd1bac97ade5/index.js#L987-L1003

Allows V8 to only deoptimize this fn instead of all
of send().

@param {string} filePath
@returns {string|number} returns -1 number if decode decodeURIComponent throws