unfix escaping of paths, and clean jobs.py