timob-13907: remove the duplicate nodes after merging resource files.
timob-13907: use open to open a file since we don't need any encoders and decoders
Merge pull request #4338 from pingwang2011/timob-13907

timob-13907: Android: Failure to build KS to device 2nd time