close files
Merge pull request #1 from jfrazelle/master

close pipes