Protecting toBlob/toString against missing format.