ErrorReadStream = function () {
            // Replicating behavior of fs module of disabling emitClose on destroy
            Readable.call(this, { emitClose: false });

            // Emit the error event with insure file access error
            this.emit('error', new Error(PPERM_ERR));

            // Options exists and disables autoClose then don't destroy
            (options && !options.autoClose) || this.destroy();
        }
Synchronous path resolver function

@param {String} relOrAbsPath - Relative or absolute path to resolve
@param {Array} [whiteList] - A optional list of additional absolute path to whitelist

@returns {String} The resolved path