Make script call-outs more resilient to bad file permissions.