Ensure TabExpansion function exists before rename.

Prevents an error in environment where there is no initial TabExpansion function defined. 
This seems strange, but that's what started occurring on my system.