Add wget -P support, finishing off bug #1176
 -Erik
5 files changed