Update src/io.c

Added return value capturing on calls to write() to quiet warnings.