Remove second newline at EOF