COMPAT: Fix indent level bug preventing wrapper function rename
Original code intends to rename the wrapper function f using the provided name, but this isn't happening because code is incorrectly indented an extra level.
```python
Example:
>>> from pandas.core.groupby import GroupBy
>>> GroupBy.sum.__name__
'f'
```

Should be 'sum'.