e2f56ec634
Writing files was done fairly naively with our Python 2 code - this change introduces explicit ASCII encoding when writing files. Change-Id: I93c9fa4ba2fd8af9c9bf9424adaec602dbdca5f0