add support for blobs

based on https://github.com/stdavis/OfflineMbTiles