Fix urlparse import.

urlparse should be imported, not the urlparse function in the urlparse
module (which apparently nobody thought would lead to confusion.)