fix another crash in the indexer due to invalid UTF-8 byte sequences
indexer: output status information to stderr
indexer: add progress indicator