CB-6932 Cannot build wp8 under Chinese (Simplified) System locale

This fixes error with incorrect handling of utf-8 ecoded project files during create script for WP8.
Issue: [CB-6932](https://issues.apache.org/jira/browse/CB-6932)
I think it is fine either way.
We could also probably completely remove 'read', 'write' and 'replaceInFile' since they are not called.