Update XnatUtils.py

Adding the pid directly in this script to save it.