Restore line endings