fix SaveToWriter name