dst is an allocated string, we have to free it also when copy_file fails. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>