escape wget parameters with single ticks

Allows for a variety of input as single tick quotes are basically inescapable.