Polyfill canvas toBlob().