Exclude framework bundles from cleaning
Tweak exclude patterns
Fix bug: directory names containing 'text'

Directories names containing the string 'text' are recognized as
text files causing white to fail at a later stage. Fix this bug
with a better regular expression parsing the output of the file
utility.