SFTP-22: Fixes #22 - Save all

Removes calls to deprecated functions
Fixes #22