nsc: deploy_code: remove images, files