fix tmp races
Merge pull request #61 from opscode/lcg/fix-tmp-races

fix tmp races