look into "tmpdir" etc for storing and reading these temp files.
Should play nicer on w32 as well.
Merge pull request #602 from monkeyiq/2013june/collabtmpdir1

look into "tmpdir" etc for storing and reading these temp files.