Fix buffering in Glibc IOStore

Fix buffering in Glibc IOStore