MDL-16587: portfolio/caller base class - be more defensive when asked to do things with files
MDL-16587: portfolio/caller base class - be more defensive when asked to do things with files

dilawar/moodle