directly use IO syscalls, not stdio buffering stuff
streaming API tests