[refactor] Replacing os.system() in download. subprocess module are used to replace the older functions like os.system.
[refactor] Replacing os.system() in upload. subprocess module are used to replace the older functions like os.system.
[refactor] Do not use shell = True since it has some security hazard.