Temp filename was wrong when clustering with only 1 thread.
Merge pull request #82 from jaredbischof/master

Fixing temp filename.