Fixes a bug in FileManager->getAvailableSpace().