function encodeFilePath(path) {
        var pathArray = path.split("/");
        pathArray = pathArray.map(function (subPath) {
            return encodeURIComponent(subPath);
        });
        return pathArray.join("/");
    }
@param {string} path Native path in the format used by FileSystemEntry.fullPath
@return {string} URI-encoded version suitable for appending to 'file:///`. It's not safe to use encodeURI()
    directly since it doesn't escape chars like "#".