Implement fread() and fwrite()

Thin wrappers arond read() and write() from <unistd.h>