BUG: Fix incorrect urlparse in io/common

Guess this got reverted/messed up during rebasing, but needs to be
changed - urlparse is no longer imported in io/common (in favor of py2/3
compatible methods).

I added a dumb test case so it at least gets called going forward.