scope files: pass a tuple for thread arguments

(integrated from trunk branch change 70c9abb by Todd Whiteman <toddw@activestate.com>)