Fix "-Wunused-result" warning from read(), write() functions

1 job for devel
in 6 minutes and 36 seconds and was queued for 4 seconds