Fix the access denied on windows of cocos new.
Merge pull request #207 from natural-law/develop

Fix the access denied on windows of cocos new.