Added methods to pre-allocate files and to get the free space on a file system.