Changed to use File.getFreeSpace() instead of FileStore.getUnallocatedSpace() to avoid Java 7 dependency.