issue #1016 free_disk_space does not work under certain configurations