tools/urlpipe: fix free on the default pattern string