Writing to a file on SFTP server opened using pysftp “open” method is slow