Update script to handle removing whitespace from arbitrary paths
closes #4396
Merge pull request #4397 from permcody/whitespace

Update script to handle removing whitespace from arbitrary paths
Merge commit 'a6235594c0d197086f0c5910a66fb9507e420ffb'