Fixed unicode error in pathscanner.py