fsSliceBlobMock = (blob, start, end = undefined) => {
  if (typeof end !== 'number') {
    end = blob.size;
  }
  return blob.slice(start, end);
}
A browser-independent mock of goog.fs.sliceBlob. The actual implementation
calls the underlying slice method differently based on browser version.
This mock does not support negative opt_end.