Cleanup and code quality changes. Changed SFTP test to use a remote path including a non-existing directory and a check that the directory is created remotely