SFTP_Stream: Better EOF detection

$result will be false on error and '' if the EOF is reached.