Fix errors when files don't exist (instead just 0).