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

Buffer fcntl calls.
Buffer *stat calls.
Merge pull request #241 from cgjones/buffer-stat

Buffer *stat calls.