fix error in downloading course which of slash in name

- fix error in downloading course which of slash in name 
- add folder and file exsit judgement for continue downloading