MBTiles: fix to load format and data extents from the metadata table