fixes #2872 CMS Maintenance deletes published HTML files
Merge branch 'master-2.5' of github.com:dotCMS/dotCMS into master-2.5