core/filedownloader: remove little meamleak while reading cookies
core/filedownloader: remove little meamleak while reading cookies

also remove C style struct variable decleration and move the result bucket creation a little lower

karolherbst/Gamekeeper-Framework,karolherbst/Gamekeeper-Framework,karolherbst/Gamekeeper-Framework,karolherbst/Gamekeeper-Framework