Buffer fcntl calls.

Resolves #222.

Aside: the fcntl syscallno is 221.  It would have been a cool nerdy coincidence if the issue had been 221 as well.  Wish I'd paid more attention!