Don't remove tempfiles if in file_roots, Fix #6118
Fix syntax error
Merge pull request #6171 from basepi/tmpfiles6118

Don't remove tempfiles if in file_roots, Fix #6118