rewrite.py: Fix problem with UnsupportedSyntaxErrors thrown from imports
rewrite.py: Fix problem with UnsupportedSyntaxErrors thrown from imports

alias objects don't have lineno attributes, so use the node instead.

alexey4petrov/reinteract,alexey4petrov/reinteract,alexey4petrov/reinteract