Have a way to measure available disk space in DataDir
To avoid disk-based DOS, we should have a way to limit our disk usage. But to do that, we ought to have a good default for it. To get that, we need to wrap statvfs (plus appropriate windows magic) to have a way to learn how much space is free on a device.