support saving to sgf