Fix getPredicateScope() to get the scope for all 1374 predicates and
serialize them to files