[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.