fixed #2078 Sync "initWithFile" to "init" for JSB

Sync "initWithFile" to "init" for JSB