Ensure TabExpansion function exists before rename.

Prevents an error in environment where there is no initial TabExpansion function defined.