Saving files before refreshing line endings.