Add support for fstatfs.

Resolves #425.