fget: Use closure to allow download with curl/wget...

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