Use POSIX compliant call to `read`