[tor-commits] [tor/master] Fix an fd leak in check_private_dir().