Make justdoit more resilient to file errors.