TileCache: remove unused size field
TileCache: close db cursor when result is empty