Convert import to new URL pattern.

I recommend adding ?w=1 to the URL in order to see what changed in import_handler.

@singingwolfboy and @dmitchell Please review.