SOLR-6100, LUCENE-5650: fix an uncloseable file leak in solr suggesters.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5650@1596497 13f79535-47bb-0310-9956-ffa450edef68