db.py: find_jobs can optionally return output files