The hook is incorrectly writing special characters with fileinput when using python 3.9 https://github.com/ansys/pyadditive/blob/main/src/ansys/additive/core/microstructure.py 