Added non colliding filename selector for thread code

Threads could potentially use the same temporary filename when testing
the results of the scrape.