Fixing Lucene Segment File Exceptions