Ensure EOF newlines