create .flashget dir before configuring the logfile name

also don't log to a file when this directory can't be created