1150982 - coping with old python

RHEL5's python does not have collections.defaultdict