writeFile package:pipes-safe

Write lines to a file, automatically opening and closing the file as necessary