Fix wget/curl arguments