Normalize file permissions for deterministic output

apexer_test could fail under different test runner since different
runner could create intermediate files with different file permissions.
The apexer zipping process kept the file permission information causing
indeterministic output.

The problem exhibits in Bazel where the runner set file permission to
640, different from the golden test data.

Test: atest --bazel-mode --host apexer_test
Test: atest --host apexer_test
Test: atest ApexTestCases
Bug: 217831421
Change-Id: I6086db9e9e6d379940e50809624701482b0dc31c
1 file changed