fget: Update user-agent string

Signed-off-by: Thomas Egerer <hakke[underscore]double-oh-seven[at]gmx.de>
fget: Init log hash at the end of loop

Otherwise the -q option gets lost.

Signed-off-by: Thomas Egerer <hakke[underscore]double-oh-seven[at]gmx.de>
fget: Fix possible infinite loop if url contains -[pic]

How stupid!

Signed-off-by: Thomas Egerer <hakke[underscore]double-oh-seven[at]gmx.de>