Some Ruby scripts written whilst investigating manipulation of .mbtiles files for off-line