correcting ansys.py

please use `os.path.join` when composing paths