Fix api to load mbtiles from a path