SOLR-2331: fix Windows file deletion failure due to a lock held by an unclosed anonymous input stream created for the purpose of debug printing; also, wrap the debug printing in an 'if (VERBOSE) { }' block so that it doesn't get ordinarily get invoked.