[DF-4650] Fixed crash at trying to create file for resumed download if there is no existing folder in file system (like descried in the task) or file cannot be created for other reason.