changed download request write file failed callback