Only monkeypatch *internal* functions

Monkeypatching `astropy` routines had unanticipated consequences.  This tries to fix them...

@astrofrog, thanks for figuring out the bug!!!