Reduce hard errors in the search indexer on invalid file content
This change uses util::file_content_check introduced with acs-tcl 5.10.1d9 to detect error situations before external programs are called, which can lead to unpredictable error messages.