Use tempfiles instead of PIPE
Oops, forgot seek(0)
Merge pull request #16 from gholt/master

Use tempfiles instead of PIPE