#17 fix closedir with null pointer bug in toku_get_version_of_logs_on_disk found by injecting open file errors