Buffer some simple syscalls: madvise, open, read, and write.

Resolves #5 (for some definition of "common" ;) ).