Refs #5034 Only restrict chmod 0750 to folders in tmp/*
It causes otherwise issues with folders in plugins/* which serve assets such as HTML files (for AngularJS modules)