rename paths to urlparts to reflect change in parse_url function