CLN: refactored url accessing and filepath conversion from urls to io.common
Merge pull request #3808 from jreback/iocom

CLN: refactored url accessing and filepath conversion from urls to io.common