Update aio_write.c

This is useful code for me! Thanks.
The buff will be refilled before saving to file, so I fix it.
For you infomation.