FileExtender: Fix incorrect boolean result
FilesystemExtender: Fix java divide by zero Exception