drop support for _IONBF
cleanup
refactor xfflush and xffill