It is actually all solaris
Merge pull request #84 from hunner/grep_sol

It is actually all Solaris.
Convert to using .tmpdir instead of a hardcoded /tmp, so this works
on Windows too.
Merge pull request #86 from apenney/fix-tmpdir

Convert to using .tmpdir instead of a hardcoded /tmp, so this works