Update XnatUtils.py

Checking files/folders given to the SpiderHandlerProcess functions