toGIF and toPNG now return Buffers.