Use endl

When redirecting the output to a file it's useful to be able to `tail` it to check progress, but that requires flushing the stream.