cache-tree: replace a sscanf() by two strtol() calls