Code cleanup. Removed unused sftp handle. Found a bug with big files.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>