add delete and download modules for smb
chage author but basic copied from hdms upload_file
Use store_loot, sorry mubix
Make sure fd is closed to avoid a possible resource leak
Do some exception handling
Do exception handling and stuff
Land #2566 - Download and delete a file via SMB