Update privoxy-adblock.js

Make calls to sed run synchronously with the script, and modify the basename function to strip query strings and fragment identifiers; now this runs very slowly when a large number of lists is set to be downloaded and converted.