fixed chown issue with whitelist.
Merge pull request #30 from npm/chown-fix

fixed chown issue with whitelist.