Fixes to make FileBackup module compatible with CMSMS 2.x and PHP7