restoring carriage returns to files