avoid the use of tempfile as long paths can make crontab barf
Merge pull request #440 from ahoward/master

Write to stdin instead of using a tmpfile