In the change from py2 -> py3, some expectations around file modes have changed,and this update changes the tests to match those expectations. Change-Id: I6c1348e02024368b70c10d91137f1ed6d9d5a483