s3:libsmb: only treat a return 0 as end of file