Convert a Blob to a Buffer.