fio.c: Implement stdin