Output files with buffer contents instead of streams