Update std_index.py

Encoding to ascii for docx, xlsx and pptx files resulted in replacing polish characters with question marks and thus indexed content was useless.