fixes to utils/schedule.py

Fixing a weird case where an empty job file will end up in the cache directory, causing exceptions when the minion is restarted.