Reformat newlines (python has universal line ending handling)