TS-2295: update statvfs usage

Use statvfs(2) everywhere. Clean up headers so that ink_file.h has
enough includes to use statvfs(2).