Fixed #23560 -- Fixed MigrationWrite to handle builtin types without imp...

...orts.
I meant `module == ('builtins' if six.PY3 else '__builtin__')`