Fixing refactor error so communities are publicly visible.
Merge pull request #934 from alxdarksage/develop

Fixing refactor error so communities are publicly visible. (Reviewed by kaysoky)
Delete temp file in try/finally