Update pars.py

print to file fix