Buffer fcntl calls.
Merge pull request #240 from cgjones/buffer-fcntl

Buffer fcntl calls.