Adds missing newline at file end